package com.menu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.menu.common.annotation.Excel;
import com.menu.common.core.domain.BaseEntity;

/**
 * 共有类型属性对象 menu_publicattribute_data
 * 
 * @author ruoyi
 * @date 2024-07-08
 */
public class MenuPublicattributeData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性编码 */
    private Long publicattributeCode;

    /** 属性排序 */
    @Excel(name = "属性排序")
    private Integer publicattributeSort;

    /** 属性标签 */
    @Excel(name = "属性标签")
    private String publicattributeLabel;

    /** 属性键值 */
    @Excel(name = "属性键值")
    private String publicattributeValue;

    /** 属性类型 */
    @Excel(name = "属性类型")
    private String publicattributeType;

    /** 样式属性（其他样式扩展） */
    @Excel(name = "样式属性", readConverterExp = "其=他样式扩展")
    private String cssClass;

    /** 表格回显样式 */
    @Excel(name = "表格回显样式")
    private String listClass;

    /** 是否默认（Y是 N否） */
    @Excel(name = "是否默认", readConverterExp = "Y=是,N=否")
    private String isDefault;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setPublicattributeCode(Long publicattributeCode) 
    {
        this.publicattributeCode = publicattributeCode;
    }

    public Long getPublicattributeCode() 
    {
        return publicattributeCode;
    }
    public void setPublicattributeSort(Integer publicattributeSort) 
    {
        this.publicattributeSort = publicattributeSort;
    }

    public Integer getPublicattributeSort() 
    {
        return publicattributeSort;
    }
    public void setPublicattributeLabel(String publicattributeLabel) 
    {
        this.publicattributeLabel = publicattributeLabel;
    }

    public String getPublicattributeLabel() 
    {
        return publicattributeLabel;
    }
    public void setPublicattributeValue(String publicattributeValue) 
    {
        this.publicattributeValue = publicattributeValue;
    }

    public String getPublicattributeValue() 
    {
        return publicattributeValue;
    }
    public void setPublicattributeType(String publicattributeType) 
    {
        this.publicattributeType = publicattributeType;
    }

    public String getPublicattributeType() 
    {
        return publicattributeType;
    }
    public void setCssClass(String cssClass) 
    {
        this.cssClass = cssClass;
    }

    public String getCssClass() 
    {
        return cssClass;
    }
    public void setListClass(String listClass) 
    {
        this.listClass = listClass;
    }

    public String getListClass() 
    {
        return listClass;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("publicattributeCode", getPublicattributeCode())
            .append("publicattributeSort", getPublicattributeSort())
            .append("publicattributeLabel", getPublicattributeLabel())
            .append("publicattributeValue", getPublicattributeValue())
            .append("publicattributeType", getPublicattributeType())
            .append("cssClass", getCssClass())
            .append("listClass", getListClass())
            .append("isDefault", getIsDefault())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
